package club.dmyang.shardingspheredemo.dao;

import club.dmyang.shardingspheredemo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    @Insert("insert into t_user(id, username, password, age) values(#{id}, #{username}, #{password}, #{age})")
    public int insert(User user);
}
